package cn.kgc.crowdfundingadmin.service;

import cn.kgc.crowdfundingadmin.common.CrowdFundingUtils;
import cn.kgc.crowdfundingadmin.pojo.Admin;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author shkstart
 * @create 2020-02-19 15:12
 */
public interface AdminService {
    public Admin selectById(Integer id);
    public Admin login(String loginAcct,String userPswd);

    PageInfo<Admin> queryForKeywordSearch(Integer pageNum, Integer pageSize, String keyword);
//删除
    void remove(List<Integer> admins);
//添加
    public void saveAdmin(Admin admin);
    //修改
    public Admin getAdminById(Integer adminId);
//修改(2)
    public void updateAdmin(Admin admin);



}
